package pers.cj.pdos.vo;

import pers.cj.pdos.entity.*;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

public class UserVo extends User{
    private boolean admin;
    private Store store;

    private List<UserRole> userRoleList;

    private List<UserHouse> userHouseList;

    private List<Role> roleList;
    private List<House> houseList;

    public void setAdmin(boolean admin) {
        admin = admin;
    }

    public boolean isAdmin() {
        return admin;
    }

    public Store getStore() {
        return store;
    }

    public List<UserRole> getUserRoleList() {
        return userRoleList;
    }

    public List<UserHouse> getUserHouseList() {
        return userHouseList;
    }

    public List<Role> getRoleList() {
        return roleList;
    }

    public List<House> getHouseList() {
        return houseList;
    }

    public void setStore(Store store) {
        this.store = store;
    }

    public void setUserRoleList(List<UserRole> userRoleList) {
        this.userRoleList = userRoleList;
    }

    public void setUserHouseList(List<UserHouse> userHouseList) {
        this.userHouseList = userHouseList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }

    public void setHouseList(List<House> houseList) {
        this.houseList = houseList;
    }
}
